<?php
class community_review_row extends system_concept_row {

	public function setCategory($category) {
		$category = new community_review_category($category);
		$this->set('category', $category->getId());
	}
	
	/**
	 * @return community_review_category
	 */
	public function getCategory() {
		return new community_review_category($this->get('category'));
	}
			
}
